package MainPackage;

import FilePackage.FileClass;

public class MainClass {

	public MainClass() 
	{}


	public static void main(String[] args)
	 {
		    FileClass f = new FileClass();
		    
	        if(args.length >0)
	                f.setFileName(args[0]);
	        else
	                f.setFileName("");
	        String fileName = f.gFileName();
	        if(fileName.equals(""))
	        {
	                System.out.println("Error!");
	        }
	        else{
	        	MenuClass menu = new MenuClass();
	            menu.startPage(fileName);
	            
	        } 
	}
}
